<?php
class ui_index_show_setting extends ui {
	public function __construct($S, $param) {
		parent::__construct();
		
		if ($this->uid) {
			$data_user = new data_user();
			$me = $data_user->one($this->uid);
			$S->assign('nickname', htmlspecialchars($me['nickname']));
		
			// 显示各账号的登陆情况
			require_once PATH_HTDOCS . 'template/friend/default.php';
			$account_info = ui_friend_default::account_info($this->uid, $me);
			$S->assign('account_info', $account_info);
		}
	}
}
?>